package com.gz.droolsrule.dao;

import com.gz.droolsrule.pojo.BaseRuleEntityInfo;
import com.gz.droolsrule.pojo.BaseRuleSceneEntityRelInfo;
import com.gz.droolsrule.pojo.BaseRuleSceneInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: BaseRuleSceneEntityRelInfoMapper <br/>
 * Description: <br/>
 * date: 2019/5/29 16:41<br/>
 *
 * @author gz<br />
 * @since JDK 1.8
 */
@Mapper
public interface BaseRuleSceneEntityRelInfoMapper {
    /**
     * 方法说明: 查询场景与实体关系表信息
     * @param baseRuleSceneEntityRelInfo 参数
     */
    List<BaseRuleSceneEntityRelInfo> findBaseRuleSceneEntityRelInfoList(BaseRuleSceneEntityRelInfo baseRuleSceneEntityRelInfo);


    /**
     *
     * 方法说明: 根据场景信息获取相关的实体信息
     * @param baseRuleSceneInfo 参数
     */
    List<BaseRuleEntityInfo> findBaseRuleEntityListByScene(BaseRuleSceneInfo baseRuleSceneInfo);
}
